home *** CD-ROM | disk | FTP | other *** search
- onEnterFrame = function()
- {
- if(this.hitA.hitTest(_root.ball))
- {
- if(_root.ball._visible == true)
- {
- _root.ball._visible = false;
- _root.hitBomb = true;
- var _loc3_ = new Sound(this);
- _loc3_.attachSound("BANJO");
- _loc3_.start(0,1);
- i = 0;
- while(i < 20)
- {
- shel = _root.attachMovie("starX","s" + _root.k,_root.k++);
- shel._x = _root.ball._x;
- shel._y = _root.ball._y;
- i++;
- }
- }
- _root.xVel = 0;
- _root.yVel = 0;
- _root.yVel += _root.grav;
- _root.triggerStoppage();
- }
- };
-